package com.ruoyi.manage.mapper;

import java.util.List;
import com.ruoyi.manage.domain.SalSalaryDeduct;

/**
 * 薪资扣款项配置Mapper接口
 * 
 * @author cf
 * @date 2025-06-04
 */
public interface SalSalaryDeductMapper 
{
    /**
     * 查询薪资扣款项配置
     * 
     * @param id 薪资扣款项配置主键
     * @return 薪资扣款项配置
     */
    public SalSalaryDeduct selectSalSalaryDeductById(Long id);

    /**
     * 查询薪资扣款项配置列表
     * 
     * @param salSalaryDeduct 薪资扣款项配置
     * @return 薪资扣款项配置集合
     */
    public List<SalSalaryDeduct> selectSalSalaryDeductList(SalSalaryDeduct salSalaryDeduct);

    /**
     * 新增薪资扣款项配置
     * 
     * @param salSalaryDeduct 薪资扣款项配置
     * @return 结果
     */
    public int insertSalSalaryDeduct(SalSalaryDeduct salSalaryDeduct);

    /**
     * 修改薪资扣款项配置
     * 
     * @param salSalaryDeduct 薪资扣款项配置
     * @return 结果
     */
    public int updateSalSalaryDeduct(SalSalaryDeduct salSalaryDeduct);

    /**
     * 删除薪资扣款项配置
     * 
     * @param id 薪资扣款项配置主键
     * @return 结果
     */
    public int deleteSalSalaryDeductById(Long id);

    /**
     * 批量删除薪资扣款项配置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSalSalaryDeductByIds(Long[] ids);
}
